import { EggPlugin } from "egg";
// ts引入路径
import "tsconfig-paths/register";
import "@/graphql";

const plugin: EggPlugin = {
  validate: {
    enable: true,
    package: "egg-validate",
  },
  // 路由模块
  routerPlus: {
    enable: true,
    package: "egg-router-plus",
  },
  // redis模块
  redis: {
    enable: true,
    package: "egg-redis",
  },
};

export default plugin;
